{if $item.type != 3 || ($item.type == 3  && ($item.stype > 31 || ($item.stype == 31 && $item.info.userid != $item.info.posterid && $item.info.userid == $AppUI->id)))}
    <div class="behaviourItems{if $item.isread == 0 && $item.stype != 31} unRead{/if}" id="beh_{$item._id}" onmouseover="javascript:onMouseOverForBehaviour('{$item._id}')" onmouseout="javascript:onMouseOutForBehaviour('{$item._id}');">
        {include file="index/box-behaviour-act.tpl"}
        {if $item.type == 3  && ($item.stype > 31 || ($item.stype == 31 && $item.info.userid != $item.info.posterid && $item.info.userid == $AppUI->id))}
            {image userid=$item.info.posterid viewid=$AppUI->id type=1 small=2 class="border50 lFloat"}
        {else}
            {image userid=$item.ownerid viewid=$AppUI->id type=1 small=2 class="border50 lFloat"}
        {/if}
        <div class="behaviourContent">
            <div id="beh_info_{$item._id}">
                {include file="index/box-behaviour-info.tpl" type=$item.type}
            </div>               
            <div class="subList" id="beh_sub_{$item._id}">&nbsp;</div>
         </div>
    </div>
{/if}
